package com.stylefeng.guns.modular.train.service;

import com.stylefeng.guns.common.persistence.model.ContestPoints;
import com.stylefeng.guns.common.persistence.model.DegreeTrainPoints;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rockjh
 * @since 2018-01-28
 */
public interface IDegreeTrainPointsService extends IService<DegreeTrainPoints> {

    /**
     * 根据员工编号年度查询
     * @param empCodes
     * @param year
     * @return
     */
    List<DegreeTrainPoints> selectInEmpCode(List<String> empCodes, String year);
    /**
     * 根据员工编号年度查询总积分
     * @param item
     * @param year
     * @return
     */
    Double sumIntegralInEmpCode(List<String> item,String year);
}
